home *** CD-ROM | disk | FTP | other *** search
- /*
- ImageMagick Image Quantization Methods.
- */
- #ifndef _MAGICK_QUANTIZE_H
- #define _MAGICK_QUANTIZE_H
-
- #if defined(__cplusplus) || defined(c_plusplus)
- extern "C" {
- #endif
-
- typedef struct _QuantizeInfo
- {
- unsigned long
- number_colors;
-
- unsigned long
- tree_depth;
-
- unsigned int
- dither;
-
- ColorspaceType
- colorspace;
-
- unsigned int
- measure_error;
-
- unsigned long
- signature;
- } QuantizeInfo;
-
- extern MagickExport QuantizeInfo
- *CloneQuantizeInfo(const QuantizeInfo *);
-
- extern MagickExport unsigned int
- GetImageQuantizeError(Image *),
- MapImage(Image *,const Image *,const unsigned int),
- MapImages(Image *,const Image *,const unsigned int),
- OrderedDitherImage(Image *),
- PosterizeImage(Image *,const unsigned long,const unsigned int),
- QuantizeImage(const QuantizeInfo *,Image *),
- QuantizeImages(const QuantizeInfo *,Image *);
-
- extern MagickExport void
- CompressImageColormap(Image *),
- DestroyQuantizeInfo(QuantizeInfo *),
- GetQuantizeInfo(QuantizeInfo *);
-
- #if defined(__cplusplus) || defined(c_plusplus)
- }
- #endif
-
- #endif
-